package com.longxi.gamer_base.utils;

import com.bumptech.glide.request.RequestOptions;
import com.longxi.gamer_base.R;

public class RequestOptionsUtils {
    public static RequestOptions gildeBannerOptions(){
        RequestOptions options = new RequestOptions();
        options.centerCrop()
                .placeholder(R.mipmap.ic_logo)
                .error(R.mipmap.ic_logo)
                .fallback(R.mipmap.ic_logo);
        return options;
    }

    public static RequestOptions gildeOptions(){
        RequestOptions options = new RequestOptions();
        options.centerCrop()
                .placeholder(R.mipmap.ic_logo)
                .error(R.mipmap.ic_logo)
                .fallback(R.mipmap.ic_logo);
        return options;
    }
}
